<template>
  <a-spin :spinning="confirmLoading">
    <j-form-container :disabled="formDisabled">
      <a-form :form="form" slot="detail">
        <a-row>
          <a-col :span="12">
            <a-form-item label="编号" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['num']" placeholder="请输入编号"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="任务单编号" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['redNum']" placeholder="请输入任务单编号"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="作业队伍类别" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-dict-select-tag type="list" v-decorator="['teamType']" :trigger-change="true" dictCode="team_type" placeholder="请选择作业队伍类别"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作协调人" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workConcertPerson']" placeholder="请输入工作协调人"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作协调人所在班组" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['concertClass1']" placeholder="请输入工作协调人所在班组"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="第二监护人所在班组" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['concertClass2']" placeholder="请输入第二监护人所在班组"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="有限空间类别" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-dict-select-tag type="list" v-decorator="['limitSpaceType']" :trigger-change="true" dictCode="limit_space_type" placeholder="请选择有限空间类别"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="附页数量" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['opageNum']" placeholder="请输入附页数量"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作班成员" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['classMember']" placeholder="请输入工作班成员"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作任务" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workTask']" placeholder="请输入工作任务"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作内容" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workDetail']" placeholder="请输入工作内容"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="计划工作时间(开始)" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-date placeholder="请选择计划工作时间(开始)" v-decorator="['planStartDate']" :trigger-change="true" style="width: 100%"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="计划工作时间(结束)" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-date placeholder="请选择计划工作时间(结束)" v-decorator="['planEndDate']" :trigger-change="true" style="width: 100%"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="安全措施(负责人填写)" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['safeAction']" placeholder="请输入安全措施(负责人填写)"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="执行情况(工作许可人填写)" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['actionDetail']" placeholder="请输入执行情况(工作许可人填写)"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作许可人" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workPermmitPerson']" placeholder="请输入工作许可人"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="值班负责人" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['onDutyPerson']" placeholder="请输入值班负责人"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作票签发时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-date placeholder="请选择工作票签发时间" v-decorator="['ticketAssignDate']" :trigger-change="true" style="width: 100%"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作票签发人签名" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['ticketAssignSign']" placeholder="请输入工作票签发人签名"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作票接收时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-date placeholder="请选择工作票接收时间" v-decorator="['ticketAcceptDate']" :trigger-change="true" style="width: 100%"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作票接收人签名(值长或组长)" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['ticketAcceptSign']" placeholder="请输入工作票接收人签名(值长或组长)"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="风电场名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-select-depart v-decorator="['orgName']" multi/>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作票运行许可开始时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-date placeholder="请选择工作票运行许可开始时间" v-decorator="['runPermmitDate']" :trigger-change="true" style="width: 100%"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作许可人签名" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workPermmitSign']" placeholder="请输入工作许可人签名"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作票检修许可开始时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-date placeholder="请选择工作票检修许可开始时间" v-decorator="['checkPermmitDate']" :trigger-change="true" style="width: 100%"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作负责人签名" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workOndutySign']" placeholder="请输入工作负责人签名"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作负责人(监护人)" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workOndutyPerson']" placeholder="请输入工作负责人(监护人)"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="原工作负责人" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['oldOndutyPerson']" placeholder="请输入原工作负责人"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="变更后工作负责人" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['newOndutyPerson']" placeholder="请输入变更后工作负责人"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="签发人批准时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-date placeholder="请选择签发人批准时间" v-decorator="['asOkDate']" :trigger-change="true" style="width: 100%"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="许可人通知时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input-number v-decorator="['psOkDate']" placeholder="请输入许可人通知时间" style="width: 100%"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作票签发人签名" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['ticketAssignSign2']" placeholder="请输入工作票签发人签名"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作许可人签名" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workPermmitSign2']" placeholder="请输入工作许可人签名"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作班离开成员名单" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['classLeaveList']" placeholder="请输入工作班离开成员名单"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作班新增成员名单" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['classIntoList']" placeholder="请输入工作班新增成员名单"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作负责人签名" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workOndutySign2']" placeholder="请输入工作负责人签名"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="学习分析签名" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['studySignList']" placeholder="请输入学习分析签名"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作票延期至" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-date placeholder="请选择工作票延期至" v-decorator="['ticketLayoutDate']" :trigger-change="true" style="width: 100%"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作票延期申请时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-date placeholder="请选择工作票延期申请时间" v-decorator="['layoutApplyDate']" :trigger-change="true" style="width: 100%"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作票延期批准时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-date placeholder="请选择工作票延期批准时间" v-decorator="['layoutPermmitDate']" :trigger-change="true" style="width: 100%"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作票终结时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['ticketOverDate']" placeholder="请输入工作票终结时间"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作负责人签名" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workOndutySign3']" placeholder="请输入工作负责人签名"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作许可人签名(终结)" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workPermmitSign3']" placeholder="请输入工作许可人签名(终结)"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="试运时间1" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-date placeholder="请选择试运时间1" v-decorator="['testPermmitDate1']" :trigger-change="true" style="width: 100%"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="试运时间2" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-date placeholder="请选择试运时间2" v-decorator="['testPermmitDate2']" :trigger-change="true" style="width: 100%"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="试运时间3" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-date placeholder="请选择试运时间3" v-decorator="['testPermmitDate3']" :trigger-change="true" style="width: 100%"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作许可人1" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workPermmitPerson1']" placeholder="请输入工作许可人1"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作许可人2" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workPermmitPerson2']" placeholder="请输入工作许可人2"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作许可人3" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workPermmitPerson3']" placeholder="请输入工作许可人3"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="恢复工作时间1" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-date placeholder="请选择恢复工作时间1" v-decorator="['reworkPermmitDate1']" :trigger-change="true" style="width: 100%"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="恢复工作时间2" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-date placeholder="请选择恢复工作时间2" v-decorator="['reworkPermmitDate2']" :trigger-change="true" style="width: 100%"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="恢复工作时间3" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-date placeholder="请选择恢复工作时间3" v-decorator="['reworkPermmitDate3']" :trigger-change="true" style="width: 100%"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作许可人4" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workPermmitPerson4']" placeholder="请输入工作许可人4"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作许可人5" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workPermmitPerson5']" placeholder="请输入工作许可人5"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作许可人6" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workPermmitPerson6']" placeholder="请输入工作许可人6"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作负责人1" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workOndutyPerson1']" placeholder="请输入工作负责人1"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作负责人2" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workOndutyPerson2']" placeholder="请输入工作负责人2"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作负责人3" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workOndutyPerson3']" placeholder="请输入工作负责人3"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作负责人4" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workOndutyPerson4']" placeholder="请输入工作负责人4"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作负责人5" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workOndutyPerson5']" placeholder="请输入工作负责人5"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作负责人6" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['workOndutyPerson6']" placeholder="请输入工作负责人6"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="未试运原因" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['noTestReason']" placeholder="请输入未试运原因"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="接地线(刀闸)共" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['allWire']" placeholder="请输入接地线(刀闸)共"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="已拆除(拉开)" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['openWire']" placeholder="请输入已拆除(拉开)"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="未拆除(拉开)" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['closeWire']" placeholder="请输入未拆除(拉开)"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="未拆除(拉开)地线的编号" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['wireId']" placeholder="请输入未拆除(拉开)地线的编号"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="值长或组长签名" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['ondutyPersonSign']" placeholder="请输入值长或组长签名"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="工作负责人所在班组" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['ondutyClass']" placeholder="请输入工作负责人所在班组"></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="12">
            <a-form-item label="第二监护人" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <a-input v-decorator="['secondConcertClass']" placeholder="请输入第二监护人"></a-input>
            </a-form-item>
          </a-col>
          <a-col v-if="showFlowSubmitButton" :span="24" style="text-align: center">
            <a-button @click="submitForm">提 交</a-button>
          </a-col>
        </a-row>
      </a-form>
    </j-form-container>
  </a-spin>
</template>

<script>

  import { httpAction, getAction } from '@/api/manage'
  import pick from 'lodash.pick'
  import { validateDuplicateValue } from '@/utils/util'
  import JFormContainer from '@/components/jeecg/JFormContainer'
  import JDate from '@/components/jeecg/JDate'  
  import JSelectDepart from '@/components/jeecgbiz/JSelectDepart'
  import JDictSelectTag from "@/components/dict/JDictSelectTag"

  export default {
    name: 'OneElectricalForm',
    components: {
      JFormContainer,
      JDate,
      JSelectDepart,
      JDictSelectTag,
    },
    props: {
      //流程表单data
      formData: {
        type: Object,
        default: ()=>{},
        required: false
      },
      //表单模式：true流程表单 false普通表单
      formBpm: {
        type: Boolean,
        default: false,
        required: false
      },
      //表单禁用
      disabled: {
        type: Boolean,
        default: false,
        required: false
      }
    },
    data () {
      return {
        form: this.$form.createForm(this),
        model: {},
        labelCol: {
          xs: { span: 24 },
          sm: { span: 5 },
        },
        wrapperCol: {
          xs: { span: 24 },
          sm: { span: 16 },
        },
        confirmLoading: false,
        validatorRules: {
        },
        url: {
          add: "/one_electrical/oneElectrical/add",
          edit: "/one_electrical/oneElectrical/edit",
          queryById: "/one_electrical/oneElectrical/queryById"
        }
      }
    },
    computed: {
      formDisabled(){
        if(this.formBpm===true){
          if(this.formData.disabled===false){
            return false
          }
          return true
        }
        return this.disabled
      },
      showFlowSubmitButton(){
        if(this.formBpm===true){
          if(this.formData.disabled===false){
            return true
          }
        }
        return false
      }
    },
    created () {
      //如果是流程中表单，则需要加载流程表单data
      this.showFlowData();
    },
    methods: {
      add () {
        this.edit({});
      },
      edit (record) {
        this.form.resetFields();
        this.model = Object.assign({}, record);
        this.visible = true;
        this.$nextTick(() => {
          this.form.setFieldsValue(pick(this.model,'num','redNum','teamType','workConcertPerson','concertClass1','concertClass2','limitSpaceType','opageNum','classMember','workTask','workDetail','planStartDate','planEndDate','safeAction','actionDetail','workPermmitPerson','onDutyPerson','ticketAssignDate','ticketAssignSign','ticketAcceptDate','ticketAcceptSign','orgName','runPermmitDate','workPermmitSign','checkPermmitDate','workOndutySign','workOndutyPerson','oldOndutyPerson','newOndutyPerson','asOkDate','psOkDate','ticketAssignSign2','workPermmitSign2','classLeaveList','classIntoList','workOndutySign2','studySignList','ticketLayoutDate','layoutApplyDate','layoutPermmitDate','ticketOverDate','workOndutySign3','workPermmitSign3','testPermmitDate1','testPermmitDate2','testPermmitDate3','workPermmitPerson1','workPermmitPerson2','workPermmitPerson3','reworkPermmitDate1','reworkPermmitDate2','reworkPermmitDate3','workPermmitPerson4','workPermmitPerson5','workPermmitPerson6','workOndutyPerson1','workOndutyPerson2','workOndutyPerson3','workOndutyPerson4','workOndutyPerson5','workOndutyPerson6','noTestReason','allWire','openWire','closeWire','wireId','ondutyPersonSign','ondutyClass','secondConcertClass'))
        })
      },
      //渲染流程表单数据
      showFlowData(){
        if(this.formBpm === true){
          let params = {id:this.formData.dataId};
          getAction(this.url.queryById,params).then((res)=>{
            if(res.success){
              this.edit (res.result);
            }
          });
        }
      },
      submitForm () {
        const that = this;
        // 触发表单验证
        this.form.validateFields((err, values) => {
          if (!err) {
            that.confirmLoading = true;
            let httpurl = '';
            let method = '';
            if(!this.model.id){
              httpurl+=this.url.add;
              method = 'post';
            }else{
              httpurl+=this.url.edit;
               method = 'put';
            }
            let formData = Object.assign(this.model, values);
            console.log("表单提交数据",formData)
            httpAction(httpurl,formData,method).then((res)=>{
              if(res.success){
                that.$message.success(res.message);
                that.$emit('ok');
              }else{
                that.$message.warning(res.message);
              }
            }).finally(() => {
              that.confirmLoading = false;
            })
          }
         
        })
      },
      popupCallback(row){
        this.form.setFieldsValue(pick(row,'num','redNum','teamType','workConcertPerson','concertClass1','concertClass2','limitSpaceType','opageNum','classMember','workTask','workDetail','planStartDate','planEndDate','safeAction','actionDetail','workPermmitPerson','onDutyPerson','ticketAssignDate','ticketAssignSign','ticketAcceptDate','ticketAcceptSign','orgName','runPermmitDate','workPermmitSign','checkPermmitDate','workOndutySign','workOndutyPerson','oldOndutyPerson','newOndutyPerson','asOkDate','psOkDate','ticketAssignSign2','workPermmitSign2','classLeaveList','classIntoList','workOndutySign2','studySignList','ticketLayoutDate','layoutApplyDate','layoutPermmitDate','ticketOverDate','workOndutySign3','workPermmitSign3','testPermmitDate1','testPermmitDate2','testPermmitDate3','workPermmitPerson1','workPermmitPerson2','workPermmitPerson3','reworkPermmitDate1','reworkPermmitDate2','reworkPermmitDate3','workPermmitPerson4','workPermmitPerson5','workPermmitPerson6','workOndutyPerson1','workOndutyPerson2','workOndutyPerson3','workOndutyPerson4','workOndutyPerson5','workOndutyPerson6','noTestReason','allWire','openWire','closeWire','wireId','ondutyPersonSign','ondutyClass','secondConcertClass'))
      },
    }
  }
</script>